import pygame

class Base():
    def __init__(self,screen):
        """ Initialize the ship and set its starting position. """
        self.screen = screen
        self.image = pygame.image.load(r'images/base.bmp')
        self.rect = self.image.get_rect()
        self.screen_rect = self.screen.get_rect()
        
        # Build the base on the center of the screen. 
        self.rect.centerx = self.screen_rect.centerx
        self.rect.centery = self.screen_rect.centery
        
    def blitme(self):
        """ Draw the base at its current location. """
        self.screen.blit(self.image, self.rect)
        
